from selenium import webdriver

url = 'https://www.baidu.com/'

driver = webdriver.Chrome()
driver.get(url)
# 隐式等待
driver.implicitly_wait(10)

el = driver.find_element_by_xpath('//*[@id="lg"]/map/area')
print(el)

